#ifndef USERPROFILEHEADER_H
#define USERPROFILEHEADER_H

#include <QWidget>
#include <QHBoxLayout>
#include <QLabel>
#include <QPixmap>
#include <QPushButton>
#include <QGraphicsView>
#include <QGraphicsPixmapItem>
#include <QMessageBox>
#include "component/item/AvatarLabel.h"

class UserProfileHeader : public QWidget
{
    Q_OBJECT
public:
    explicit UserProfileHeader(QWidget *parent = nullptr);

private:
    AvatarLabel *avatar;     // 头像
    QLabel *username;        // 用户名
    QLabel *signature;       // 个性签名
    QPushButton *safeButton; // 账户安全按钮

private slots:
    void onSafeButtonClicked();

signals:
};

#endif // USERPROFILEHEADER_H
